package org.jeecg.modules.demo.zyExam.zyPaperMultipleChoiceQuestion.service.impl;


import org.jeecg.modules.demo.zyExam.zyPaperMultipleChoiceQuestion.entity.ZyPaperMultipleChoiceQuestion;
import org.jeecg.modules.demo.zyExam.zyPaperMultipleChoiceQuestion.mapper.ZyPaperMultipleChoiceQuestionMapper;
import org.jeecg.modules.demo.zyExam.zyPaperMultipleChoiceQuestion.service.IZyPaperMultipleChoiceQuestionService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 题库多选题
 * @Author: jeecg-boot
 * @Date:   2025-07-08
 * @Version: V1.0
 */
@Service
public class ZyPaperMultipleChoiceQuestionServiceImpl extends ServiceImpl<ZyPaperMultipleChoiceQuestionMapper, ZyPaperMultipleChoiceQuestion> implements IZyPaperMultipleChoiceQuestionService {

    public List<String> findBySubject(String subject, Integer changeNumber) {
        return baseMapper.findBySubject(subject, changeNumber);
    }

    public List<ZyPaperMultipleChoiceQuestion> findByIdAndType(String paperCode) {
        return baseMapper.findByIdAndType(paperCode);
    }
}
